package com.gitee.minimalismstyle.fresh.common.api.annotation

import org.springframework.web.bind.annotation.RequestMethod
import org.springframework.web.bind.annotation.ResponseBody
import kotlin.reflect.KClass

@ResponseBody
@Target(AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS)
annotation class ControllerFeignClient(
        val method: Array<RequestMethod> = [],
        val params: Array<String> = [],
        val headers: Array<String> = [],
        val consumes: Array<String> = [],
        val produces: Array<String> = [],
        val value: String = "",
        val serviceId: String = "",
        val name: String = "",
        val qualifier: String = "",
        val qualifiers: Array<String> = [],
        val url: String = "",
        val decode404: Boolean = false,
        val configuration: Array<KClass<*>> = [],
        val fallback: KClass<*> = Unit::class,
        val fallbackFactory: KClass<*> = Unit::class,
        val ctx: String = "",
        val path: String = "",
        val primary: Boolean = false
)
